package ca.llsutherland.squash.racquet;

import ca.llsutherland.squash.administrator.AdministratorsFixture;
import ca.llsutherland.squash.domain.Administrator;
import ca.llsutherland.squash.domain.Clock;
import ca.llsutherland.squash.domain.Racquet;
import ca.llsutherland.squash.domain.helper.RacquetsHelper;

public class RacquetsFixture {

    public static Racquet createUnpersistedRacquet(String brand, String model, Clock dateCreated, Clock dateUpdated) {
        Administrator createdBy = AdministratorsFixture.createNewAdministrator("Lindsay", "Sutherland");
        Racquet racquet = RacquetsHelper.createUnpersistedRacquet(brand, model, dateCreated, dateUpdated, createdBy);
        return racquet;
        
    }

}
